-- GENERATED SPELL FOR [Nascent Fel Orc] --


function spell0_17398(pUnit, Event) --@Concussion Blow,n/a--
pUnit:FullCastSpellOnTarget(22427,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17398', 5283, 1)
end

function spell1_17398(pUnit, Event) --@Stomp,n/a--
pUnit:FullCastSpellOnTarget(31900,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17398', 630, 1)
end

function Sorts_17398(pUnit, Event)
local choix_sorts_17398 = math.random(0, 1)
if choix_sorts_17398 == 0 then
pUnit:RegisterEvent('spell0_17398', 1, 1)
end
if choix_sorts_17398 == 1 then
pUnit:RegisterEvent('spell1_17398', 1, 1)
end
end

function mob17398_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17398', math.random(1500, 3000), 1)
end

function mob17398_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17398_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17398_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17398, 1, 'mob17398_Action')
RegisterUnitEvent(17398, 2, 'mob17398_Leave')
RegisterUnitEvent(17398, 3, 'mob17398_Kill')
RegisterUnitEvent(17398, 4, 'mob17398_Die')
